package com.zsrt.java.day20161222.hzj;

import org.junit.Test;

public class MathTest {
	
	@Test
	public void mt(){
		
		int a = 11;
		int b=a%=4;
		System.out.println("mt b="+b);
	}
	
	@Test
	public void mt1(){
		
		int a = 49/5;
		System.out.println("mt1 a="+a);
		
		int b = 49%5;
		System.out.println("mt1 b="+b);
	}
	
	@Test
	public void mt2(){
		
		int a = 10;
		int b = a++;
		System.out.println("mt2 b="+b);

	}
	
	@Test
	public void mt3(){
		
		int a= 10;
		int b= 20;
		int sum = a+b;
		sum=sum++;
		a++;
		System.out.println("mt3 sum="+sum);
		System.out.println("mt3 a="+a);
	}
}
